<!DOCTYPE html>
@args String title
<html>
<head>
    <title>@title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    @render(css){
    <link rel="stylesheet" type="text/css" href="/asset/css/layui.css"></link>
    <link rel="stylesheet" type="text/css" href="/asset/css/lp.css"></link>
    }
    @render(js){
    <script src="/asset/js/jquery-3.2.1.min.js"></script>
    <script src="/asset/js/echarts.min.js"></script>
    <script src="/asset/layui.js"></script>
    <script src="/asset/js/lp.js"></script>
    }
</head>
<body>
<div class="layui-header">
    <ul class="layui-nav" style="opacity: 1">
        <li class="logo1"><a href="/" class="lp-title">Baby Log</a></li>
        <li class="layui-nav-item"><a href="/">首页</a></li>
        <li class="layui-nav-item"><a href="/blog/addForm">添加记录</a></li>
        <li class="layui-nav-item"><a href="/blogs">日志列表</a></li>
        <li class="layui-nav-item">
            <a href="">详细日志<span class="layui-nav-more"></span></a>
            <dl class="layui-nav-child layui-anim layui-anim-upbit">
                <dd><a href="/first">第一次</a></dd>
                <dd><a href="/language">学会语言</a></dd>
                <dd><a href="/cognitive">认知事物</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="/admin">后台管理</a></li>
    </ul>
</div>
<div class="lp-body">
@render()
<div class="layui-footer" style="text-align:center;padding: 10px 0 10px 0">
    <p class="text-center"><span style="color:#0bb59b;margin:0 auto">任凭时光匆匆，</span><span>记录点点滴滴。</span></p>
    <br/>
    <br/>
    <p class="text-center" style="color:#333;margin:0 auto">Version:1.0.0 By Penguin 2017-06-18</p>
</div>
</div>
<script>
    layui.use('element', function () {
        var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块
    });
</script>
</body>
</html>